﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nova.Parsing.GoldParser.Semantic;

namespace Nova.Parsing.Tokens
{
    [Terminal("(EOF)")]
    [Terminal("(Error)")]
    [Terminal("(Whitespace)")]
    [Terminal("(Comment)")]
    [Terminal("(NewLine)")]
    [Terminal("(*/)")]
    [Terminal("(/*)")]
    [Terminal("(//)")]
    [Terminal("instruction")]
    [Terminal("@")]
    [Terminal("(")]
    [Terminal(")")]
    [Terminal("[")]
    [Terminal("]")]
    [Terminal("{")]
    [Terminal("}")]
    [Terminal(",")]
    [Terminal(":")]
    [Terminal(";")]
    [Terminal("#")]
    [Terminal("$")]
    [Terminal("log")]
    [Terminal("if")]
    [Terminal("else")]
    [Terminal("for")]
    [Terminal("while")]
    [Terminal("var")]
    [Terminal("switch")]
    [Terminal("throw")]
    [Terminal("do")]
    public sealed class IgnoredToken : NovaToken
    {
        private string m_Symbol;

        public IgnoredToken(string symbol)
        {
            m_Symbol = symbol;
        }

        public override string ToString()
        {
            return m_Symbol;
        }
    }
}
